PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Simmering / shifter + flexi - american pie 5 nz+ m3 w4.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.005 |
| 26 | fWaveScale=0.167 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.950 |
| 48 | wave_y=1.000 |
| 49 | ob_size=0.100 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.100 |
| 55 | ib_r=1.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=41 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.01000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=t8 = 1; |
| 89 | wave_0_init2=t1 = q5; |
| 90 | wave_0_per_frame1=t1 = q5; |
| 91 | wave_0_per_frame2=t2 = q4; |
| 92 | wave_0_per_point1=t8 = -t8; |
| 93 | wave_0_per_point2=d1 = 0.2 + t8*0.01 - value1*0.1*(t8+1); |
| 94 | wave_0_per_point3=dir1 = t2; |
| 95 | wave_0_per_point4=dir2 = sample*asin(1)*4 - t2*0.5 + t1*3/2; |
| 96 | wave_0_per_point5= |
| 97 | wave_0_per_point6=x = 0.5 + sin(dir1)*0.1 + sin(dir2)*d1; |
| 98 | wave_0_per_point7=y = 0.5 + cos(dir1)*0.1 + cos(dir2)*d1; |
| 99 | wave_0_per_point8=y = (y-0.5)*1.2 + 0.5; |
| 100 | wavecode_1_enabled=0 |
| 101 | wavecode_1_samples=61 |
| 102 | wavecode_1_sep=0 |
| 103 | wavecode_1_bSpectrum=0 |
| 104 | wavecode_1_bUseDots=0 |
| 105 | wavecode_1_bDrawThick=0 |
| 106 | wavecode_1_bAdditive=1 |
| 107 | wavecode_1_scaling=0.01240 |
| 108 | wavecode_1_smoothing=0.00000 |
| 109 | wavecode_1_r=1.000 |
| 110 | wavecode_1_g=1.000 |
| 111 | wavecode_1_b=0.000 |
| 112 | wavecode_1_a=1.000 |
| 113 | wave_1_init1=t8 = 1; |
| 114 | wave_1_init2=t1 = q5; |
| 115 | wave_1_per_frame1=t1 = q5; |
| 116 | wave_1_per_point1=t8 = -t8; |
| 117 | wave_1_per_point2=d = 0.3 + t8*0.01 - value1*0.1*(t8+1); |
| 118 | wave_1_per_point3=dir = t1 + sample*asin(1)*4; |
| 119 | wave_1_per_point4=x = 0.5 + sin(dir)*d; |
| 120 | wave_1_per_point5=y = 0.5 + cos(dir)*d; |
| 121 | wave_1_per_point6=y = (y-0.5)*1.2 + 0.5; |
| 122 | wavecode_2_enabled=0 |
| 123 | wavecode_2_samples=31 |
| 124 | wavecode_2_sep=0 |
| 125 | wavecode_2_bSpectrum=0 |
| 126 | wavecode_2_bUseDots=0 |
| 127 | wavecode_2_bDrawThick=1 |
| 128 | wavecode_2_bAdditive=0 |
| 129 | wavecode_2_scaling=0.01303 |
| 130 | wavecode_2_smoothing=0.00000 |
| 131 | wavecode_2_r=0.000 |
| 132 | wavecode_2_g=1.000 |
| 133 | wavecode_2_b=1.000 |
| 134 | wavecode_2_a=1.000 |
| 135 | wave_2_init1=t8 = 1; |
| 136 | wave_2_init2=t1 = q5; |
| 137 | wave_2_per_frame1=t1 = q5; |
| 138 | wave_2_per_frame2=t2 = q4; |
| 139 | wave_2_per_frame3=t3 = q6; |
| 140 | wave_2_per_point1=t8 = -t8; |
| 141 | wave_2_per_point2=d1 = 0.15 + t8*0.01 - value1*0.1*(t8+1); |
| 142 | wave_2_per_point3=dir1 = t2; |
| 143 | wave_2_per_point4=dir2 = t2*0.5 + t1*3/2 - t3*3; |
| 144 | wave_2_per_point5=dir3 = sample*asin(1)*4 + t3 - t2*5/6 + t1*3/2; |
| 145 | wave_2_per_point6= |
| 146 | wave_2_per_point7=x = 0.5 + sin(dir1)*0.1 + sin(dir2)*0.05 + sin(dir3)*d1; |
| 147 | wave_2_per_point8=y = 0.5 + cos(dir1)*0.1 + cos(dir2)*0.05 + cos(dir3)*d1; |
| 148 | wave_2_per_point9=y = (y-0.5)*1.2 + 0.5; |
| 149 | wavecode_3_enabled=1 |
| 150 | wavecode_3_samples=128 |
| 151 | wavecode_3_sep=4 |
| 152 | wavecode_3_bSpectrum=1 |
| 153 | wavecode_3_bUseDots=0 |
| 154 | wavecode_3_bDrawThick=1 |
| 155 | wavecode_3_bAdditive=0 |
| 156 | wavecode_3_scaling=12.37407 |
| 157 | wavecode_3_smoothing=0.00000 |
| 158 | wavecode_3_r=1.000 |
| 159 | wavecode_3_g=1.000 |
| 160 | wavecode_3_b=1.000 |
| 161 | wavecode_3_a=1.000 |
| 162 | wave_3_init1=t2 = 0; |
| 163 | wave_3_init2=t3 = 0; |
| 164 | wave_3_init3=t4 = 0; |
| 165 | wave_3_init4=ab = 1; |
| 166 | wave_3_per_frame1=t1 = q4*0.75; |
| 167 | wave_3_per_frame2=t2 = q5*0.75; |
| 168 | wave_3_per_frame3=t3 = q6*0.75; |
| 169 | wave_3_per_frame4=t4 = q4*0.75; |
| 170 | wave_3_per_frame5=t5 = q5*0.75; |
| 171 | wave_3_per_frame6=t6 = q6*0.75; |
| 172 | wave_3_per_frame7=t8 = 1; |
| 173 | wave_3_per_point1=sample = sample + time*0.1; |
| 174 | wave_3_per_point2= |
| 175 | wave_3_per_point3=pi = asin(1); |
| 176 | wave_3_per_point4=n = 20; |
| 177 | wave_3_per_point5=t8 = -t8; |
| 178 | wave_3_per_point6=rd = .2 + .05*(t8)*(1+value1); |
| 179 | wave_3_per_point7=xx = sin(sample*pi*4)*0.5 + cos(sample*pi*n)*rd*sin(sample*pi*4); |
| 180 | wave_3_per_point8=yy = cos(sample*pi*4)*0.5 + cos(sample*pi*n)*rd*cos(sample*pi*4); |
| 181 | wave_3_per_point9=zz = sin(sample*pi*n + t3)*rd; |
| 182 | wave_3_per_point10= |
| 183 | wave_3_per_point11=d = -sqrt( xx*xx + yy*yy + zz*zz)*0.001; |
| 184 | wave_3_per_point12=d1 = 1; |
| 185 | wave_3_per_point13=xx = xx*d1; |
| 186 | wave_3_per_point14=yy = yy*d1; |
| 187 | wave_3_per_point15=zz = zz*d1; |
| 188 | wave_3_per_point16= |
| 189 | wave_3_per_point17= |
| 190 | wave_3_per_point18= |
| 191 | wave_3_per_point19= |
| 192 | wave_3_per_point20=w1 = d*t4; |
| 193 | wave_3_per_point21=w2 = d*t5; |
| 194 | wave_3_per_point22=w3 = d*t6; |
| 195 | wave_3_per_point23= |
| 196 | wave_3_per_point24=s1 = sin(t1*1+w1); |
| 197 | wave_3_per_point25=s2 = sin(t2*1+w2); |
| 198 | wave_3_per_point26=s3 = sin(t3*1+w3); |
| 199 | wave_3_per_point27=c1 = cos(t1*1+w1); |
| 200 | wave_3_per_point28=c2 = cos(t2*1+w2); |
| 201 | wave_3_per_point29=c3 = cos(t3*1+w3); |
| 202 | wave_3_per_point30= |
| 203 | wave_3_per_point31=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 204 | wave_3_per_point32=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 205 | wave_3_per_point33=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 206 | wave_3_per_point34= |
| 207 | wave_3_per_point35=a = 10.95; |
| 208 | wave_3_per_point36=zoom = 0.7*atan2(a,a+z);//0.5*(1/(z+a)); |
| 209 | wave_3_per_point37=x = 0.5 + zoom*x1; |
| 210 | wave_3_per_point38=y = 0.5 + zoom*y1; |
| 211 | wave_3_per_point39= |
| 212 | wave_3_per_point40=pi3 = 3.1415*2*0.3333; |
| 213 | wave_3_per_point41=t = sample*pi*4-0*time +t4*3; |
| 214 | wave_3_per_point42=c=5; |
| 215 | wave_3_per_point43=r = sin(t)*c; |
| 216 | wave_3_per_point44= |
| 217 | wave_3_per_point45=g = sin(t+pi3)*c; |
| 218 | wave_3_per_point46= |
| 219 | wave_3_per_point47=b = sin(t-pi3)*c; |
| 220 | wave_3_per_point48= |
| 221 | wave_3_per_point49=j = 0.71; |
| 222 | wave_3_per_point50=//r = 0.5+xx*j; |
| 223 | wave_3_per_point51=//g = 0.5+yy*j; |
| 224 | wave_3_per_point52=//b = 0.5+zz*j; |
| 225 | wave_3_per_point53= |
| 226 | wave_3_per_point54=r = if(above(r,1),1,r); |
| 227 | wave_3_per_point55=r = if(below(r,0),0,r); |
| 228 | wave_3_per_point56=g = if(above(g,1),1,g); |
| 229 | wave_3_per_point57=g = if(below(g,0),0,g); |
| 230 | wave_3_per_point58=b = if(above(b,1),1,b); |
| 231 | wave_3_per_point59=b = if(below(b,0),0,b); |
| 232 | wave_3_per_point60= |
| 233 | wave_3_per_point61=a = 2;//sigmoid(-z,7)+0.; |
| 234 | wave_3_per_point62= |
| 235 | shapecode_0_enabled=0 |
| 236 | shapecode_0_sides=4 |
| 237 | shapecode_0_additive=0 |
| 238 | shapecode_0_thickOutline=1 |
| 239 | shapecode_0_textured=0 |
| 240 | shapecode_0_num_inst=1 |
| 241 | shapecode_0_x=1.000 |
| 242 | shapecode_0_y=0.500 |
| 243 | shapecode_0_rad=1.00591 |
| 244 | shapecode_0_ang=0.00000 |
| 245 | shapecode_0_tex_ang=0.00000 |
| 246 | shapecode_0_tex_zoom=0.50330 |
| 247 | shapecode_0_r=1.000 |
| 248 | shapecode_0_g=0.000 |
| 249 | shapecode_0_b=0.000 |
| 250 | shapecode_0_a=1.000 |
| 251 | shapecode_0_r2=1.000 |
| 252 | shapecode_0_g2=0.000 |
| 253 | shapecode_0_b2=0.000 |
| 254 | shapecode_0_a2=1.000 |
| 255 | shapecode_0_border_r=1.000 |
| 256 | shapecode_0_border_g=1.000 |
| 257 | shapecode_0_border_b=1.000 |
| 258 | shapecode_0_border_a=0.000 |
| 259 | shape_0_init1=vx = 0; |
| 260 | shape_0_init2=vy = 0; |
| 261 | shape_0_per_frame1=x = 1.15; |
| 262 | shape_0_per_frame2=y = q1- 0.4; |
| 263 | shapecode_1_enabled=0 |
| 264 | shapecode_1_sides=4 |
| 265 | shapecode_1_additive=0 |
| 266 | shapecode_1_thickOutline=1 |
| 267 | shapecode_1_textured=0 |
| 268 | shapecode_1_num_inst=1 |
| 269 | shapecode_1_x=1.000 |
| 270 | shapecode_1_y=0.500 |
| 271 | shapecode_1_rad=1.00591 |
| 272 | shapecode_1_ang=0.00000 |
| 273 | shapecode_1_tex_ang=0.00000 |
| 274 | shapecode_1_tex_zoom=0.50330 |
| 275 | shapecode_1_r=0.000 |
| 276 | shapecode_1_g=1.000 |
| 277 | shapecode_1_b=0.000 |
| 278 | shapecode_1_a=1.000 |
| 279 | shapecode_1_r2=0.000 |
| 280 | shapecode_1_g2=1.000 |
| 281 | shapecode_1_b2=0.000 |
| 282 | shapecode_1_a2=1.000 |
| 283 | shapecode_1_border_r=1.000 |
| 284 | shapecode_1_border_g=1.000 |
| 285 | shapecode_1_border_b=1.000 |
| 286 | shapecode_1_border_a=0.000 |
| 287 | shape_1_init1=vx = 0; |
| 288 | shape_1_init2=vy = 0; |
| 289 | shape_1_per_frame1=x = 1.175; |
| 290 | shape_1_per_frame2=y = q2- 0.4; |
| 291 | shapecode_2_enabled=0 |
| 292 | shapecode_2_sides=4 |
| 293 | shapecode_2_additive=0 |
| 294 | shapecode_2_thickOutline=1 |
| 295 | shapecode_2_textured=0 |
| 296 | shapecode_2_num_inst=1 |
| 297 | shapecode_2_x=1.000 |
| 298 | shapecode_2_y=0.500 |
| 299 | shapecode_2_rad=1.00591 |
| 300 | shapecode_2_ang=0.00000 |
| 301 | shapecode_2_tex_ang=0.00000 |
| 302 | shapecode_2_tex_zoom=0.50330 |
| 303 | shapecode_2_r=0.000 |
| 304 | shapecode_2_g=0.000 |
| 305 | shapecode_2_b=1.000 |
| 306 | shapecode_2_a=1.000 |
| 307 | shapecode_2_r2=0.000 |
| 308 | shapecode_2_g2=0.000 |
| 309 | shapecode_2_b2=1.000 |
| 310 | shapecode_2_a2=1.000 |
| 311 | shapecode_2_border_r=1.000 |
| 312 | shapecode_2_border_g=1.000 |
| 313 | shapecode_2_border_b=1.000 |
| 314 | shapecode_2_border_a=0.000 |
| 315 | shape_2_init1=vx = 0; |
| 316 | shape_2_init2=vy = 0; |
| 317 | shape_2_per_frame1=x = 1.2; |
| 318 | shape_2_per_frame2=y = q3- 0.4; |
| 319 | shapecode_3_enabled=0 |
| 320 | shapecode_3_sides=4 |
| 321 | shapecode_3_additive=0 |
| 322 | shapecode_3_thickOutline=0 |
| 323 | shapecode_3_textured=0 |
| 324 | shapecode_3_num_inst=1 |
| 325 | shapecode_3_x=0.500 |
| 326 | shapecode_3_y=0.500 |
| 327 | shapecode_3_rad=0.10000 |
| 328 | shapecode_3_ang=0.00000 |
| 329 | shapecode_3_tex_ang=0.00000 |
| 330 | shapecode_3_tex_zoom=1.00000 |
| 331 | shapecode_3_r=1.000 |
| 332 | shapecode_3_g=0.000 |
| 333 | shapecode_3_b=0.000 |
| 334 | shapecode_3_a=1.000 |
| 335 | shapecode_3_r2=0.000 |
| 336 | shapecode_3_g2=1.000 |
| 337 | shapecode_3_b2=0.000 |
| 338 | shapecode_3_a2=0.000 |
| 339 | shapecode_3_border_r=1.000 |
| 340 | shapecode_3_border_g=1.000 |
| 341 | shapecode_3_border_b=1.000 |
| 342 | shapecode_3_border_a=0.100 |
| 343 | per_frame_init_1=wr1 = 1 + int(rand(0.404)); |
| 344 | per_frame_init_2=wg1 = 1 + int(rand(0.446)); |
| 345 | per_frame_init_3=wb1 = 1 + int(rand(0.465)); |
| 346 | per_frame_init_4=wr2 = 1 + int(rand(0.454)); |
| 347 | per_frame_init_5=wg2 = 1 + int(rand(0.489)); |
| 348 | per_frame_init_6=wb2 = 1 + int(rand(0.432)); |
| 349 | per_frame_init_7=ws = int(rand(1)); |
| 350 | per_frame_init_8=decay = 0; |
| 351 | per_frame_init_9=dec = 0; |
| 352 | per_frame_init_10=vl = 0; |
| 353 | per_frame_1=chng=sin(time*.5); |
| 354 | per_frame_2=cthr=.9999; |
| 355 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 356 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 357 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 358 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 359 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 360 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 361 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 362 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 363 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 364 | per_frame_12=mq30=if(above(chng,cthr),rand(1)*.3,mq30); |
| 365 | per_frame_13=monitor=chng; |
| 366 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 367 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q30=mq30; |
| 368 | per_frame_16= |
| 369 | per_frame_17=monitor=mq1; |
| 370 | per_frame_18=vol=bass+treb+mid; |
| 371 | per_frame_19=atime=atime+vol; |
| 372 | per_frame_20=q1=.4+sin(atime*.006 )*.4; |
| 373 | per_frame_21=q2=.4+cos(atime*.00613828348)*.4; |
| 374 | per_frame_22=q3=.4+sin(atime*.00598593455)*.4; |
| 375 | per_frame_23=monitor=q3; |
| 376 | per_frame_24=vol = .3333*(bass_att + mid_att + treb_att); |
| 377 | per_frame_25=wave_a = 0; |
| 378 | per_frame_26=dec = dec + 0.1*(1-dec); |
| 379 | per_frame_27=decay = dec; |
| 380 | per_frame_28=awarp = 5*above(bass_att,1.4); |
| 381 | per_frame_29=dy = .07; |
| 382 | per_frame_30=dx = .01; |
| 383 | per_frame_31=//ib_a = above(bass_att,1.3); |
| 384 | per_pixel_1=zoom = zoom + 0.055*(sin(50+25*cos(0.2*time)*rad) + sin(sin(time*2*sin(time)*rad))*0.3 - cos(rad)*0.1); |
| 385 | per_pixel_2=rot = rot + 0.2*abs(0.746-rad)*sin(2.2*(0.5-rad)+5.7*sin(0.1*time)); |
| 386 | per_pixel_3=sx = sx - abs(0.1*(0.99*1-rad)*sin(0.733*time)*below(sin(time),0)); |
| 387 | per_pixel_4=sx= sx - abs(0.1*(0.99*1-rad)*cos(0.953*time)*above(sin(time),0)); |
| 388 | per_pixel_5=zoom = zoom - 0.05*(0.5*abs(3)-rad)*below(rad,1.5); |
| 389 | per_pixel_6=dxe=dx+.01*(sin(vx*50-5*3.14*sin(q1)))*sin(above(q1,q2)-ang*sin(above(q4,q3)))*sin(q5); |
| 390 | per_pixel_7=dye=dy-.01*(sin(vy*50-5*3.14*sin(q2)))*sin(above(Q2,q1)-ang*sin(abovE(q3,q4)))*sin(Q4); |
| 391 | per_pixel_8=vx=sin((x+q7)*3.14-q2); |
| 392 | per_pixel_9=vy=sin((y+q8)*3.14-q5); |
| 393 | per_pixel_10=dx=dxe/2/2/2; |
| 394 | per_pixel_11=dy=dye/2/2/2; |
| 395 | per_pixel_12=cx = (0&(x+q1))-q1; |
| 396 | per_pixel_13=cy = (0&(y+q2))-q2; |
| 397 | per_pixel_14= |
| 398 | per_pixel_15=zoom=zoom+.1*sin(above(vx*50,vy*50-5*3.14*sin(above(Q1,q2))))*sin(above(q2,q3))-ang/2/2/2/2/2* |
| 399 | per_pixel_16=sin(above(q5,q3)*sin(q1))/2/2/2/2; |
| 400 | per_pixel_17=rot=(zoom-1)*sin(rad*3.14*q1); |
| 401 | warp_1=`shader_body |
| 402 | warp_2=`{ |
| 403 | warp_3=` |
| 404 | warp_4=` |
| 405 | warp_5=`float error = 0.3; // maximum random pixel offset |
| 406 | warp_6=`float diffusion = 0.004; // dither strength |
| 407 | warp_7=`float fadeout = -0.001; // may be minor 1/256 due to the error diffusion dither; |
| 408 | warp_8=` |
| 409 | warp_9=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw*1.5 + rand_frame.xy; |
| 410 | warp_10=`float magic = lum(GetPixel(lerp(uv_orig,uv, 4))) - lum(GetBlur1(lerp(uv_orig,uv,-8))); |
| 411 | warp_11=`uv = lerp(uv_orig,uv, magic*8 ) + (tex2D(sampler_noise_lq, dither_uv)-0.5)*texsize.zw*error; |
| 412 | warp_12=`ret = GetPixel(uv)+(tex2D(sampler_noise_lq, dither_uv)-0.5)*diffusion + fadeout; |
| 413 | warp_13=` |
| 414 | warp_14=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 415 | warp_15=` ((uv.xyy*q27 |
| 416 | warp_16=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 417 | warp_17=` ).xyz* |
| 418 | warp_18=` float3(1,1,0)*0.05 + |
| 419 | warp_19=` time*float3(0,0,1)*q29 |
| 420 | warp_20=` ); |
| 421 | warp_21=`if(ret.x> q21*q3 && ret.x<= q24*q1 )ret.y += (noise9).x*.5; |
| 422 | warp_22=`if(ret.y> q22*q1 && ret.y<= q25*q2 )ret.z += (noise9).y*.5; |
| 423 | warp_23=`if(ret.z> q23*q2 && ret.z<= q26*q3 )ret.x += (noise9).z*.5; |
| 424 | warp_24=`} |
| 425 | comp_1=`sampler sampler_fw_sky; |
| 426 | comp_2=`shader_body |
| 427 | comp_3=`{ |
| 428 | comp_4=`float2 uvm = frac(uv + time*.0); |
| 429 | comp_5=` |
| 430 | comp_6=`ret = tex2D(sampler_main,uvm); |
| 431 | comp_7=` |
| 432 | comp_8=`float diff = 1-length(ret.xy -GetBlur1(uvm).xy )*3.5; |
| 433 | comp_9=`float diff2 = 1-length(ret.zy -GetBlur1(uvm).zx )*3.5; |
| 434 | comp_10=` |
| 435 | comp_11=`diff *=1-length(ret.xy -GetBlur2(uvm).xy )*1; |
| 436 | comp_12=`diff2 *=1-length(ret.zx -GetBlur2(uvm).zy )*1; |
| 437 | comp_13=` |
| 438 | comp_14=`ret.xy *= diff ; |
| 439 | comp_15=`ret.zy *= diff2; |
| 440 | comp_16=`ret.xz /= diff/diff2; |
| 441 | comp_17=`ret*=2; |
| 442 | comp_18=` |
| 443 | comp_19=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 444 | comp_20=` ((uvm.xyy*q28 |
| 445 | comp_21=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 446 | comp_22=` ).xyz* |
| 447 | comp_23=` float3(1,1,0)*0.05 + |
| 448 | comp_24=` time*float3(0,0,1)*q30 |
| 449 | comp_25=` ); |
| 450 | comp_26=`if(ret.x> q26*q3 && ret.x<= q23*q1 )ret.z -= (noise9).x*.5; |
| 451 | comp_27=`if(ret.y> q25*q1 && ret.y<= q22*q2 )ret.x -= (noise9).y*.5; |
| 452 | comp_28=`if(ret.z> q24*q2 && ret.z<= q21*q3 )ret.y -= (noise9).z*.5; |
| 453 | comp_29=` |
| 454 | comp_30=`} |